package com.example.demo.service;
import com.example.demo.pojo.User;

public interface UserService {
    User findByUserName(String username);

    void register(String username, String password);

    void update(User user);
   //更新用户密码
    void updatePwd(String newPwd);
}
